// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
//引入vuex的store
import store from './store'
import ElementUI from 'element-ui';
import  'element-ui/lib/theme-chalk/index.css';
import "../src/assets/css/iconfont/iconfont.css"

Vue.config.productionTip = false;
Vue.use(ElementUI)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
if(navigator.appName == "Microsoft Internet Explorer"&&parseInt(navigator.appVersion.split(";")[1].replace(/[ ]/g, "").replace("MSIE",""))<9){
        alert("您的浏览器版本过低，可能影响您的体验，建议您下载谷歌浏览器进行访问");
    }